package com.ocgs.web.action.login;

import com.ocgs.base.core.web.action.BaseAction;
import com.ocgs.model.SystemAdmin;
import com.ocgs.service.impl.SystemAdminImpl;

/**
 * @author chen jing jing
 * @version 1.0
 * @since 2012-10-27
 *
 */
public class LoginAction extends BaseAction{
    private SystemAdmin admin;
    private SystemAdminImpl systemAdminService;
    public SystemAdmin getAdmin() {
        return admin;
    }

    public void setAdmin(SystemAdmin admin) {
        this.admin = admin;
    }

    public SystemAdminImpl getSystemAdminService() {
        return systemAdminService;
    }

    public void setSystemAdminService(SystemAdminImpl systemAdminService) {
        this.systemAdminService = systemAdminService;
    }

    public String login(){
        return "login";
    }

    public String logout(){
        return "logout";
    }
}
